<#import "/freemarker/modeltype_entity.ftl" as mte>
<div class="wrapper-md ng-scope">
	<div class="panel panel-default">
		<div>
			<table class="table table-bordered">
				<thead>
					<tr>
						<th>题干</th>
						<th>题目类型</th>
						<th>题目难度</th>
						<th>题目分数</th>
						<th>操作 </th>
					</tr>
				</thead>
				<tbody id="addTbody6">
					<#list pageBean.resultList as topic>
						<tr class="footable-even tr1" style="display: table-row;">
							<td><#if topic.content?length lt 15>${topic.content}<#else>${topic.content?substring(0,15)}...</#if></td>
							<td><@mte.Problemtype s=false   classname="form-control" value=((topic.type)!'')/></td>
							<td><@mte.TopicDifficulty s=false value=((topic.tdc)!'')/></td>
							<td><input type="text" value="${topic.point!''}" style="width:80px;" onblur="javascript:blurAddNewPoints($(this),'${topic.code}');"/></td>
							<td>
								<button class="btn btn-xs btn-success" onclick="javascript: choiseTopic_classes($(this),'${topic.code}','${topic.content}','${topic.type}','${topic.tdc}','${topic.tdn}','${topic.point}'); return false;" title="选择">
									<i class="icon-check"></i>
								</button>
							</td>
						</tr>
					</#list>
				</tbody>
			</table>
			<#import "/freemarker/pagination.ftl" as p>
			<@p.pagination pageBean 'aidqueryTopic1_classes' />
		</div>
	</div>
</div>
